export default class CompositeInjector {
  constructor(injectors) {
    this._injectors = injectors;
  }

  inject(props) {
    let newProps = props;
    this.injectors.forEach(injector => {
      newProps = injector.inject(newProps);
    });
    return newProps;
  }
}
